package com.tracesystem.controller.info;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author JMOCOK
 * @description 缺陷详情
 * @date 2022/3/24  17:49
 */
@ApiModel("缺陷详情")
@Data
public class IssueDetailInfo {
    @ApiModelProperty("缺陷id")
    private Integer issueId;
    @ApiModelProperty("项目名")
    private String projectName;
    @ApiModelProperty("父缺陷名")
    private String parentIssueName;
    @ApiModelProperty("缺陷名")
    private String issueName;
    @ApiModelProperty("缺陷描述")
    private String issueDesc;
    @ApiModelProperty("缺陷类型")
    private String issueType;
    @ApiModelProperty("严重程度")
    private String issueSeverity;
    @ApiModelProperty("优先级")
    private String issuePriority;
    @ApiModelProperty("计划开始时间")
    private LocalDate planStartTime;
    @ApiModelProperty("计划完成时间")
    private LocalDate planEndTime;
    @ApiModelProperty("实际开始时间")
    private LocalDate actStartTime;
    @ApiModelProperty("实际完成时间")
    private LocalDate actEndTime;
    @ApiModelProperty("预计工时")
    private BigDecimal planWorkHours;
    @ApiModelProperty("实际工时")
    private BigDecimal actWorkHours;
    @ApiModelProperty("分配时间")
    private LocalDateTime assignedTime;
    @ApiModelProperty("完成要求")
    private String doneCondition;
    @ApiModelProperty("完成百分比")
    private Integer doneRatio;
    @ApiModelProperty("缺陷状态")
    private String issueState;
    @ApiModelProperty("执行任务者")
    private String assignee;
    @ApiModelProperty("更新时间")
    private LocalDateTime modifyTime;
    @ApiModelProperty("附件id")
    private Integer attachId;
}
